/**
 * Copyright (c) 2023, iDearHanYu Co., Ltd.
 *
 * SPDX-License-Identifier: 
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-08-16     chao         first version
 */


#ifndef LV_CONF_H
#define LV_CONF_H

/*====================
   COLOR SETTINGS
 *====================*/
#define LV_COLOR_16_SWAP    0
#define LV_COLOR_DEPTH      32

/*=========================
   MEMORY SETTINGS
 *=========================*/
//#define LV_MEM_CUSTOM 1

/*====================
   HAL SETTINGS
 *====================*/
//#define LV_TICK_CUSTOM 1

/*=======================
 * FEATURE CONFIGURATION
 *=======================*/

/*-------------
 * Logging
 *-----------*/
#define LV_USE_LOG 1
#define LV_LOG_PRINTF 1
#define LV_LOG_LEVEL LV_LOG_LEVEL_WARN

/*-------------
 * Others
 *-----------*/
//#define LV_USE_PERF_MONITOR 1 //Show CPU usage and FPS count
//#define LV_USE_MEM_MONITOR 1 //Show the used memory and the memory fragmentation

/*==================
 *   FONT USAGE
 *===================*/
#define LV_FONT_MONTSERRAT_10 0
#define LV_FONT_MONTSERRAT_12 0
//#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 1
#define LV_FONT_MONTSERRAT_18 0
//#define LV_FONT_MONTSERRAT_20 1
#define LV_FONT_MONTSERRAT_22 1
#define LV_FONT_MONTSERRAT_24 0
#define LV_FONT_MONTSERRAT_26 0
#define LV_FONT_MONTSERRAT_28 0
#define LV_FONT_MONTSERRAT_30 0
#define LV_FONT_MONTSERRAT_32 1
#define LV_FONT_MONTSERRAT_34 0
#define LV_FONT_MONTSERRAT_36 0
#define LV_FONT_MONTSERRAT_38 0
#define LV_FONT_MONTSERRAT_40 0
#define LV_FONT_MONTSERRAT_42 0
#define LV_FONT_MONTSERRAT_44 0
#define LV_FONT_MONTSERRAT_46 0
#define LV_FONT_MONTSERRAT_48 1

/*==================
 * EXTRA COMPONENTS
 *==================*/
/*---------------------
 * 3rd party libraries
 *--------------------*/
//#define LV_USE_FS_WIN32 1

#define LV_USE_DEMO_MUSIC 1
#define LV_DEMO_MUSIC_AUTO_PLAY 0
#define LV_DEMO_MUSIC_ROUND     0
#define LV_DEMO_MUSIC_SQUARE    0
#define LV_DEMO_MUSIC_LANDSCAPE 1
#define LV_DEMO_MUSIC_LARGE     1


#define LV_USE_GRIDNAV          1



/* user button macro */
enum _user_button {
    LV_USER_BTN_SOURCE,
    LV_USER_BTN_PREV,
    LV_USER_BTN_NEXT,
    LV_USER_BTN_PLAY_PAUSE,
    LV_USER_BTN_MAX,
    LV_USER_BTN_UNDEFINED = 0xFF,
};

#endif /*LV_CONF_H*/


